package com.lottery.server.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("lottery_record")
public class LotteryRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String phone;
    private Long prizeId;
    private String prizeName;
    private BigDecimal prizeValue;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
} 